﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace cstdx.Proto;

/// <summary>
/// 压缩相关常量
/// </summary>
public static class CompressionFlags
{
	/// <summary>
	///  压缩标志
	/// </summary>
	public const byte Compressed = 0x10;                  // 压缩标志
	/// <summary>
	/// zip未压缩
	/// </summary>
	public const byte FlagNotZipped = 0x0c;               // zip未压缩

	/// <summary>
	/// zip已压缩 消息头标志 0x789C
	/// </summary>
	public const byte FlagZipped = Compressed | FlagNotZipped; // zip已压缩 消息头标志 0x789C
}
